﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="QualityRPT.AirwirePlaza.edit" %>

<%@ Register TagPrefix="uc1" TagName="clheader" Src="../include/cl_header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="cltop" Src="../include/cl_top.ascx" %>
<%@ Register TagPrefix="uc1" TagName="clleft" Src="../include/cl_left.ascx" %>
<%@ Register TagPrefix="uc1" TagName="clfooter" Src="../include/cl_footer.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>ETC产品质量跟踪统计系统-编辑天线车道信息</title>
    <uc1:clheader ID="clheader" runat="server" />
    <link rel="stylesheet" href="../css/jquery.combobox.css" />
	<script type="text/javascript" src="../js/jquery.bgiframe.pack.js"></script>
	<script type="text/javascript" src="../js/jquery.combobox.js"></script>
	<script type="text/javascript">
		$(function () {
		    $('#txt_supplier_name').combobox([<%=supplier_name_json %>], { imageUrl: '/img/dropdown.gif' });
            $('#txt_spec_name').combobox([<%=spec_name_json %>], { imageUrl: '/img/dropdown.gif' });
            $('#txt_road_name').combobox([<%=road_name_json %>], { imageUrl: '/img/dropdown.gif' });
		});
        function checkSubmit()
        {
            var rt = true;
            $(".rqfield").each(function(){
                if($(this).val().length==0){rt=false;}}); 
                if(!rt){alert("请检查必填项是否填写完整.");}
            return rt;
        }
	</script>
</head>
<!-- this is content start-->
<body>
    <uc1:cltop ID="cltop" runat="server" />
    <div class="container-fluid">
    <div class="row-fluid">
        <uc1:clleft id="clleft" runat="server"/>
         <!-- this is content start-->
        <form id="Form1" runat="server">
         <div class="box span10">
			<div class="box-header well">
				<h2><i class="icon-edit"></i>配置天线车道信息--------<a href='index.aspx?pid=<%=Request.Params["pid"] %>&cid=<%=Request.Params["cid"] %>'>返回</a></h2>
                
			</div>
            <div class="box-content" style=" float:left">
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label1" runat="server" Text="广场编号："></asp:Label>
                <input type="text" id="txt_plaza_id" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <asp:Label ID="Label2" runat="server" Text="广场名称："></asp:Label>
                <input type="text" id="txt_plaza_name" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label3" runat="server" Text="路段编号："></asp:Label>
                <input type="text" id="txt_road_id" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <asp:Label ID="Label4" runat="server" Text="路段名称："></asp:Label>
                <input type="text" id="txt_road_name" class="combo rqfield" runat="server" /><span style="color:Red;">必填</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label15" runat="server" Text="车道编号："></asp:Label>
                <input type="text" id="txt_lane_no" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <asp:Label ID="Label16" runat="server" Text="车道模式："></asp:Label>
                <input type="text" id="txt_lane_mode" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label5" runat="server" Text="厂商名称："></asp:Label>
                <input type="text" id="txt_supplier_name" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <asp:Label ID="Label6" runat="server" Text="厂商编号："></asp:Label>
                <input type="text" id="txt_supplier_shortname" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label7" runat="server" Text="天线型号："></asp:Label>
                <input type="text" id="txt_spec_name" runat="server" class="combo rqfield" /><span style="color:Red;">必填</span>
                <asp:Label ID="Label8" runat="server" Text="型号简称："></asp:Label>
                <input type="text" id="txt_spec_shortname" runat="server" class="rqfield" /><span style="color:Red;">必填</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label9" runat="server" Text="软件版本："></asp:Label>
                <input type="text" id="txt_sortversion" runat="server" class="rqfield"  /><span style="color:Red;">必填</span>
                <asp:Label ID="Label10" runat="server" Text="硬件版本："></asp:Label>
                <input type="text" id="txt_hardversion" runat="server" class="rqfield"  /><span style="color:Red;">必填</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label11" runat="server" Text="有效开始："></asp:Label>
                <input type="text" id="txt_start_date" class="datepicker rqfield" runat="server" /><span style="color:Red;">必填</span>
                <asp:Label ID="Label12" runat="server" Text="有效结束："></asp:Label>
                <input type="text" id="txt_end_date" class="datepicker rqfield" runat="server" /><span style="color:Red;">必填</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Label ID="Label13" runat="server" Text="天线类型："></asp:Label>
                <select id="airwire_type" runat="server">
                    <option value="ETC天线">ETC天线</option>
                    <option value="机场天线">机场天线</option>
                </select>
                <span style="color:Red;">必填</span>
                <asp:Label ID="Label19" runat="server" Text=" 备注："></asp:Label>
                <input type="text" id="txt_remark" runat="server" /><span style="color:Gray;">可空</span>
                <div style="clear:both;height:12px;"></div>
                <asp:Button ID="ButtonSave" runat="server" Text="保存" CssClass="botton" OnClientClick="return checkSubmit();" OnClick="ButtonSave_Click" />
                <asp:Button ID="ButtonContinue" runat="server" Text="保存并继续" CssClass="botton" OnClientClick="return checkSubmit();" OnClick="ButtonContinue_Click" />
                <input type="hidden" id="h_rowid" runat="server" />
                <div style="clear:both;height:12px;"></div>
            </div>
         </div>
         </form>
        
        </div>		
        <!-- content end-->
    </div>
    <uc1:clfooter ID="clfooter" runat="server" />
</body>
</html>
